﻿using System;
using System.Collections.Generic;
using System.IO.Ports;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ComTest
{
    class Program
    {
        static void Main(string[] args)
        {
            SerialPortHandler portHandler = new SerialPortHandler();
            while (true)
            {
                string input = Console.ReadLine();
                portHandler.Write(input);
            }
        }
    }
}
